package com.have.blog.admin.service;



import com.have.blog.admin.domain.dto.BlogCategoryDto;
import com.have.blog.admin.domain.dto.BlogDto;
import com.have.blog.admin.domain.dto.BlogTagDto;
import com.have.blog.admin.domain.dto.ContributionCountVo;
import com.have.blog.base.wrapper.Wrapper;

import java.util.List;

public interface AdminBlogService {
    Long getBlogCount(Integer status);

    List<BlogTagDto> getBlogCountByTag();

    List<BlogCategoryDto> getBlogCountByCategory();

    ContributionCountVo getBlogContributeCount();

    List<BlogDto> getList(BlogDto blogVO);

    Wrapper add(BlogDto blogVO);

    Wrapper edit(BlogDto blogVo);

    Wrapper delete(BlogDto blogVO);

    Wrapper deleteBatchBlog(List<Integer> uids);

    List<BlogDto> getBlogByUids(List<Integer> uids);
}
